]> dgit.raspbian.org Git - gnome-shell.git/commit
polkitAgent: Queue authentication requests while locked
authorFlorian Müllner <fmuellner@gnome.org>
Fri, 6 Apr 2018 17:54:27 +0000 (19:54 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Fri, 6 Apr 2018 18:08:29 +0000 (20:08 +0200)
commit78a92fb6bea26a7be712f72b730130efe3728d06
tree9cca8653230ac8537603f952df23ed5d250ae30f
parent01509cf1a5ec3d44622453b08cc7815d776c94a4
polkitAgent: Queue authentication requests while locked

While polkit requests *should* be the result of a user action, that's
not always the case in practice and authentication dialogs can pop up
out of nowhere at any time. That's always annoying, but particularly
bad on the lock screen. If we disabled the polkit component altogether,
the fallback GTK-based agent would kick in, so instead handle the case
explicitly and postpone showing the dialog until the session is unlocked.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/179
js/ui/components/polkitAgent.js